package com.sduept.nwld.dataserver.model.daily;

import com.sduept.bigdata.document.entity.core.RecordAttachment;
import com.sduept.core.entity.IdentifiedObject;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@Entity
// 实体类注解
@Table(name = "t_daily_specialreport")
// 映射到数据库表
public class SpecialReport extends IdentifiedObject {

	/**
	 * 专项汇报
	 */
	private static final long serialVersionUID = 8455954332280276237L;
	private String specialType;
	@Column(length=4096)
	private String specialContect;
	private String accessory;
	private Date day;
	@Transient
	private List<RecordAttachment> fileNames = new ArrayList<RecordAttachment>();
	@Transient
	private List<UrlFile> urlNames = new ArrayList<UrlFile>();

	@Column(length = 4096)
	private String fileSaveName;// 文件名称 分号分隔;

	public String getSpecialType() {
		return specialType;
	}

	public void setSpecialType(String specialType) {
		this.specialType = specialType;
	}

	public String getSpecialContect() {
		return specialContect;
	}

	public void setSpecialContect(String specialContect) {
		this.specialContect = specialContect;
	}

	public String getAccessory() {
		return accessory;
	}

	public void setAccessory(String accessory) {
		this.accessory = accessory;
	}

	public Date getDay() {
		return day;
	}

	public void setDay(Date day) {
		this.day = day;
	}

	public List<RecordAttachment> getFileNames() {
		return fileNames;
	}

	public void setFileNames(List<RecordAttachment> fileNames) {
		this.fileNames = fileNames;
	}

	public String getFileSaveName() {
		return fileSaveName;
	}

	public void setFileSaveName(String fileSaveName) {
		this.fileSaveName = fileSaveName;
	}

	public List<UrlFile> getUrlNames() {
		return urlNames;
	}

	public void setUrlNames(List<UrlFile> urlNames) {
		this.urlNames = urlNames;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

}
